<div class="panel panel-primary animated">
  <div class="panel-heading">
    <div class="brandLogin"></div>       
  </div>
  <div class="panel-body">

    <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put, :class => 'form-horizontal'}) do |f| %>
      <%= devise_error_messages! %>
      <%= f.hidden_field :reset_password_token %>

      <div class="form-group">
        <div class="col-md-12">
          <%= f.password_field :password, autocomplete: "off", :placeholder => t('.new_password'), :class => "form-control", :id => "newPassword" %>
          <i class="fa fa-lock"></i>
        </div>
      </div>

      <div class="form-group">
        <div class="col-md-12">
          <%= f.password_field :password_confirmation, autocomplete: "off", :placeholder => t('.confirm_new_password'), :class => "form-control", :id => "confrimPassword" %>
          <i class="fa fa-lock"></i>
        </div>
      </div>
      <div class="form-group">
          <div class="col-md-12">
            <%= f.submit t('.change_my_password'), :class => 'btn btn-primary btn-block' %>
          </div>
      </div>
      
    <% end %>

    <%= render "devise/shared/links" %>
  </div>
</div>